package org.example.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.example.pojo.DItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.pojo.DStaff;
import org.example.pojo.select.DItemSelect;
import org.example.utils.Result;

import java.util.Map;

/**
* @author chenhongkai
* @description 针对表【d_item(宿舍用品领用表)】的数据库操作Mapper
* @createDate 2024-08-03 09:01:20
* @Entity org.example.pojo.DItem
*/
public interface DItemMapper extends BaseMapper<DItem> {

    Integer SelectDitemsTotal(@Param("dItemSelect")DItemSelect dItemSelect);
    IPage<Map> SelectDitems(Page<DItem> page, @Param("dItemSelect") DItemSelect dItemSelect);

    void insertItem(DItemSelect dItemSelect);

    void deleteItem(DItemSelect dItemSelect);
}




